package com.ctshk.rpc.certificate.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 证件业务-预约时段明细
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_certificate_business_booking_time_details")
@ApiModel(value="CertificateBusinessBookingTimeDetails对象", description="证件业务-预约时段明细")
public class CertificateBusinessBookingTimeDetails extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "证件业务id(关联t_certificate_business表id)")
    private Long businessId;

    @ApiModelProperty(value = "业务办理时段id(关联t_certificate_business_booking_time表id)")
    private Long timeId;

    @ApiModelProperty(value = "办证中心id")
    private Long businessHallId;

    @ApiModelProperty(value = "办证中心名称")
    @TableField("Business_hall_name")
    private String businessHallName;

    @ApiModelProperty(value = "时间段")
    private String timeBucket;

    @ApiModelProperty(value = "可预约数")
    private Integer number;

    @ApiModelProperty(value = "剩余可预约数")
    private Integer remainNumber;

    @ApiModelProperty(value = "状态 0失效 1有效")
    private Integer status;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
